﻿@{
    ViewBag.Title = "Place";
}


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>丁丁图书商城-提交订单</title>
    <link href="~/css/main.css" rel="stylesheet" />
    <link href="~/css/reset.css" rel="stylesheet" />
    <style>
        .fr a{
            font-weight:bold;
        }
    </style>
</head>
<body>
	<div class="header_con">
		<div class="header">
			<div class="welcome fl">欢迎来到丁丁图书商城</div>
			<div class="fr">
				<div class="login_btn fl">
                    @if (Session["username"] == null)
                    {
                        <a href="/Login/Login">登录</a>
                        <a href="/Login/Register">注册</a>
                    }
                    else
                    {
                        if ((int)Session["usertype"] == 1)
                        {
                        <a href="/Info/Info">欢迎您： @Session["username"]</a>
                        }
                        else
                        {
                        <a href="/Admin/Home">欢迎您： @Session["username"]</a>
                        }
                        <a href="/Login/Login">重新登录</a>
                    }
				</div>
				<div class="user_link fl">
					<span>|</span>
					<a href="/Info/Info">用户中心</a>
					<span>|</span>
					<a href="/Cart/Cart">我的购物车</a>
					<span>|</span>
					<a href="/Order/Order">我的订单</a>
				</div>
			</div>
		</div>		
	</div>

	<div class="search_bar clearfix">
		<a href="index.html" class="logo fl"><img src="~/images/logo.png"></a>
		<div class="sub_page_name fl">|&nbsp;&nbsp;&nbsp;&nbsp;提交订单</div>
		<div class="search_con fr">
            <form method="post" action="/List/List">
                <input type="text" name="sou" class="input_text fl" id="txtSearch"style="background:none;" name=""  placeholder="搜索商品" />
                <input type="submit" value="搜索" class="input_btn fr" />
            </form>
		</div>		
	</div>
	<h3 class="common_title">支付方式</h3>	
	<div class="common_list_con clearfix">
		<div class="pay_style_con clearfix">
			<input type="radio" name="pay_style" checked>
			<label class="cash">支付宝</label>
			<input type="radio" name="pay_style">
			<label class="weixin">微信支付</label>
		</div>
	</div>

	<h3 class="common_title">商品列表</h3>
	
	<div class="common_list_con clearfix">
		<ul class="goods_list_th clearfix">
			<li class="col01">商品名称</li>
			<li class="col03">商品价格</li>	
		</ul>
            @foreach (var a in ViewBag.list)
    {
        <ul class="goods_list_td clearfix">
            <li class="col02"><img src="~/img/@a.Pic" /></li>
            <li class="col03">@a.bookname</li>
            <li class="col05">￥ @a.price 元</li>
        </ul>
    }
	</div>

	<h3 class="common_title">总金额结算</h3>

	<div class="common_list_con clearfix">
		<div class="settle_con">
			<div class="total_pay">实付款：<b>@ViewBag.money</b></div>
		</div>
	</div>

	<div class="order_submit clearfix">
		<a href="/Place/money" id="order_btn">提交订单</a>
	</div>	

	<div class="footer">
		<div class="foot_link">
			<a href="#">关于我们</a>
			<span>|</span>
			<a href="#">联系我们</a>
			<span>|</span>
			<a href="#">招聘人才</a>
			<span>|</span>
			<a href="#">友情链接</a>		
		</div>
		<p>CopyRight © 2016 北京天天生鲜信息技术有限公司 All Rights Reserved</p>
		<p>电话：010-****888    京ICP备*******8号</p>
	</div>

	<div class="popup_con">
		<div class="popup">
			<p>订单提交成功！</p>
		</div>
		
		<div class="mask"></div>
	</div>
	<script type="text/javascript" src="js/jquery-1.12.2.js"></script>
</body>
</html>